<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
	
<div class="col-xs-12">	
	<form:form commandName="gradePointFilter" cssClass="form-horizontal" role="form">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="startDate_filter">开始时间</label>
			<div class="col-sm-3">
				<input type="text" name="startDate" id="startDate_filter" placeholder="开始时间"
					   autocomplete="off" class="form-control date-picker" >
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间</label>
			<div class="col-sm-3">
				<input type="text" name="endDate" id="endDate" placeholder="结束时间"
					   autocomplete="off" class="form-control date-picker" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="taskId">考核任务单号</label>
			<div class="col-sm-3">
				<input type="text" name="taskId" id="taskId" placeholder="请输入考核任务单号" class="form-control" value="${gradePointFilter.taskId}">
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="taskContent">考核任务名</label>
			<div class="col-sm-3">
				<input type="text" name="taskName" id="taskName" placeholder="请输入考核任务名" class="form-control" value="${gradePointFilter.taskName }">
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="checkObject">考核对象</label>
			<div class="col-sm-3">
				<input type="text" name="checkObject" id="checkObject" placeholder="请输入考核对象" value="${gradePointFilter.checkObject }" class="form-control">
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="checkType">考核类别</label>
			<div class="col-sm-3">
				<select name="checkType" id="checkType" class="form-control ">
					<option value="">--请选择--</option>
					<option value="督查">督查单位</option>
					<option value="业主单位经办人">业主单位经办人</option>
					<option value="业主单位责任人">业主单位责任人</option>
					<option value="审批部门经办人">审批部门经办人</option>
					<option value="审批部门责任人">审批部门责任人</option>
				</select>
				<%--<input type="text" name="checkType" id="checkType" placeholder="请输入考核类别" value="${gradePointFilter.checkType}" class="form-control">--%>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="taskContent">考核内容</label>
			<div class="col-sm-3">
				<input type="text" name="taskContent" id="taskContent" placeholder="请输入考核内容" class="form-control" value="${gradePointFilter.taskContent }">
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="soucre">分数</label>
			<div class="col-sm-3">
				<input type="text" name="soucre" id="soucre" placeholder="请输入分数" class="form-control" value="${gradePointFilter.soucre }">
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="invalid_filter">得分类型</label>
			<div class="col-sm-3">
				<select name="invalid" id="invalid_filter" class="form-control ">
					<option value="0">--请选择(默认有效得分)--</option>
					<option value="">全部得分</option>
					<option value="0">有效得分</option>
					<option value="1">失效得分</option>
				</select>
		</div>
	</form:form>
</div>

<script type="application/javascript">
    jQuery(function($) {
        $('.date-picker').datepicker({
            inline: true,
            format:"yyyy-mm-dd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        }).next().on(ace.click_event, function(){
            $(this).prev().focus();
        });
    });
</script>